/*
 *  msn.h - MSN Messenger Functions
 *  Copyright (c) 2005 Derek Ingrouville (dergro@users.sourceforge.net)
 *
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 2 of the License, or
 *  (at your option) any later version.
 *
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Library General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program; if not, write to the Free Software
 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */

#ifndef _MSN_H
#define _MSN_H

#include "session.h"

int msn_signout (MsnSession *session);
void msn_setup_callbacks (GHashTable *callbacks);

int msn_check_for_data (gpointer data);

int msn_keepalive (MsnConnection *conn);
int msn_change_nickname (MsnSession *session, const char *nick);
int msn_set_status (MsnSession *session, MsnStatus status);
int msn_send_file (MsnSession *session);

int msn_start_chat (MsnSession *session);
int msn_add_contact (MsnSession *session, MsnContact *contact);
int msn_remove_contact (MsnSession *session, MsnContact *contact);
int msn_move_contact (MsnSession *session,
			MsnGroup *from,
			MsnGroup *to,
			MsnContact *contact);

int msn_add_group (MsnSession *session, const char *group_name);


#endif /* _MSN_H */
